package com.lxy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by Enzo Cotter on 2022/9/13.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class House {
    private String haddress;
    private String harea;
    private String hdir;
    private String himage;
    private int hid;
    private int hfloor;
    private int hroomNum;

    private double hprice;
    private int hdeco;//装修类型
    private int hair;//是否双气
    private int hrentStatus;//出租状态
    private int hstatus;//房屋状态
    private Date haddTime;//添加时间
    private Date hupdateTime;//更新时间

    @Override
    public String toString() {
        return "House{" +
                "haddress='" + haddress + '\'' +
                ", harea='" + harea + '\'' +
                ", hdir='" + hdir + '\'' +
                ", himage='" + himage + '\'' +
                ", hid=" + hid +
                ", hfloor=" + hfloor +
                ", hroomNum=" + hroomNum +
                ", hdeco=" + hdeco +
                ", hair=" + hair +
                ", hrentStatus=" + hrentStatus +
                ", hstatus=" + hstatus +
                ", haddTime=" + haddTime +
                ", hupdateTime=" + hupdateTime +
                '}';
    }

}
